package models

// Activity 活动计划表
type Activity struct {
	BaseModel
	Title        string `gorm:"size:100;not null" json:"title"`
	ActivityDate string `gorm:"size:50" json:"activity_date"`
	Category     string `gorm:"size:50" json:"category"`
	Content      string `gorm:"type:text" json:"content"`
	Sort         int    `gorm:"default:0" json:"sort"`
	Status       int    `gorm:"default:1;comment:状态 1显示 0隐藏" json:"status"`
}

func (Activity) TableName() string {
	return "go_activity"
}
